package com.dj.uphome.web.service.system;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.dj.uphome.web.vo.system.SysRoleVo;

public interface SysRoleService {
	SysRoleVo create(SysRoleVo vo) throws Exception;

	void delete(int id) throws Exception;

	SysRoleVo findOne(int id) throws Exception;

	List<SysRoleVo> findAll(SysRoleVo vo) throws Exception;

	Page<SysRoleVo> findPage(Pageable pageRequest, SysRoleVo vo) throws Exception;
}
